package com.goods.business.service;

import com.goods.common.model.business.InStock;
import com.goods.common.vo.business.InStockDetailVO;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;
import java.util.Map;

/**
 * @author liangliang
 * @Date 2021/11/8 14:11 Administrator
 * @Description
 */
public interface InStockService {
    /**
     * 查询入库记录
     * @param
     * @param
     * @param
     * @param map
     * @return
     */
    PageVO<InStockVO> findInStockList( Map map);
    //查询入库明细
    InStockDetailVO   findDetail(Long id, Integer pageNum);
    //将已经入库的移入回收站
    void remove(Long id);
    //还原回收站中的数据
    void back(Long id);
    //删除回收站中的数据
    void delete(Long id);
    //审核通过
    void publish(Long id);
    //添加库存
    void addIntoStock(InStockVO inStockVO);
}
